package cn.sunlight.college.common.serviceBase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SunlightException extends RuntimeException {

    @ApiModelProperty(value = "状态码")
    private Integer code; //状态码
    private String msg; //异常信息

}
